@echo off
echo 1.add environment variable
reg add "HKEY_CURRENT_USER\Environment" /v MY_VIM_LOCAL /t reg_sz /d %cd% /f

echo 2.modify _vimrc file
echo source $MY_VIM_LOCAL/vimrc >> "C:\Program Files\Vim\_vimrc"

echo 3.copy c-support dir
xcopy "c-support" "C:\Program Files\Vim\vimfiles\c-support" /e /q /i
pause